<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    let id = 1;
</script>
<!--单独上传单个图片-->
<!--<form action="/file/upload/image" method="post" enctype="multipart/form-data">-->
<!--修改头像，携带file，id参数-->
<form action="/user/updateHead" method="post" enctype="multipart/form-data">
<!--上传多个图片-->
<!--<form action="/file/upload/images" method="post" enctype="multipart/form-data">-->
    <label>上传图片${ id }</label>
<!--    <input type="file" name="file"/>-->
<!--    <input type="file" name="file"/>-->
<!--    <input type="file" name="file"/>-->
    <input type="file" name="file"/>
    <input type="submit" value="上传"/>
    <input type="number" value="1" name="id"/>
</form>
<p>图片:</p>
<!--<img src="${filename}"/>-->

</body>
</html>